{extend name="base" /}
{block name="body"}
<div class="layui-body">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class=""><a href="{:url('admin/user_rank/index')}">用户等级管理</a></li>
            <li class="layui-this">编辑用户等级</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <form class="layui-form form-container" action="{:url('admin/user_rank/update')}" method="post">
                    <div class="layui-form-item">
                        <label class="layui-form-label">等级名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="rank_name" value="{$rank_info.rank_name}" required  lay-verify="required" placeholder="请输入等级名称" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">激活金额</label>
                        <div class="layui-input-block">
                            <input type="text" name="reg_money" value="{$rank_info.reg_money}" required  lay-verify="required" placeholder="请输入激活金额" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">激活后赠送积分</label>
                        <div class="layui-input-block">
                            <input type="text" name="reg_integral" value="{$rank_info.reg_integral}" required  lay-verify="required" placeholder="请输入激活后赠送积分" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">重消日封顶</label>
                        <div class="layui-input-block">
                            <input type="text" name="day_consume" value="{$rank_info.day_consume}" required  lay-verify="required" placeholder="请输入重消日封顶" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">重消总封顶</label>
                        <div class="layui-input-block">
                            <input type="text" name="sum_consume" value="{$rank_info.sum_consume}" required  lay-verify="required" placeholder="请输入重消总封顶" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="hidden" name="id" value="{$rank_info.id}">
                            <button class="layui-btn" lay-submit lay-filter="*">更新</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{/block}